import Vue from 'vue'
import VueRouter from 'vue-router'
import MasterRouter from './masterrouter'
import MineRouter from './mine'
import OrderRouter from './order'
import cityRouter from './city'

Vue.use(VueRouter)


const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes:[
	  MasterRouter,
	  MineRouter,
	  OrderRouter,
	  cityRouter,
	  {
	  	path: '/*',
	  	redirect: '/master'
	  }
  ]
})

export default router
